Computational Fluid Dynamics using OpenCL – a Practical Introduction
نویسندگان
چکیده
The main aim of the Computational Fluid Dynamics (CFD) simulations is to reconstruct the reality of fluid motion and behaviour as accurately as possible in order to better understand the natural phenomena under specified conditions. Ideally, general solutions can also cover different scales and geometric configurations. Unfortunately, due to expensive algorithms, classic CFD codes most often require long computational times to satisfy the convergence criteria. With the advent of high-performance GPUs with massively-parallel multi-threaded architectures, basic CFD algorithms can now be implemented to give results in near real-time. The current work will briefly review our existing explicit solver based on finite difference methods, the derivation and discretisation of the mathematical model and equations, through to GPU algorithm implementation. During presentation, several case studies computed using CSIRO's CPU/GPU supercomputer cluster will be described and compared against well known analytical and experimental solutions, i.e. natural convection, driven cavity, scaling analysis, magneto-thermal convection, etc.
منابع مشابه
Computational Fluid Dynamics and Gpus
Computational Fluid Dynamics (CFD) simulations are aimed to reconstruct the reality of fluid motion and behaviour as accurately as possible, to better understand the natural phenomena under specified conditions. Ideally, computational models would need to cover different scales and geometric configurations, and the classic CFD solvers most often require long computational times to satisfy the c...
متن کاملCLBlast: A Tuned OpenCL BLAS Library
This work demonstrates how to accelerate dense linear algebra computations using CLBlast, an open-source OpenCL BLAS library providing optimized routines for a wide variety of devices. It is targeted at machine learning and HPC applications and thus provides a fast matrix-multiplication routine (GEMM) to accelerate the core of many applications (e.g. deep learning, iterative solvers, astrophysi...
متن کاملInvestigation of stepped planning hull hydrodynamics using computational fluid dynamics and response surface method
The use of step at the bottom of the hull is one of the effective factors in reducing the resistance and increasing the stability of the Planning hull. The presence of step at the bottom of this type of hulls creates a separation in the flow, which reduces the wet surface on the hull, thus reducing the drag on the body, as well as reducing the dynamic trim. In this study, a design space was cre...
متن کاملReal-time Smoking Simulation Based on OpenCL and GPU Acceleration Technologies ⋆
TResearch of smoking simulation is of great theoretical and application value in the field of computer simulation and virtual reality. It is widely used in computer games, animation, film stunts, medical simulation, etc. In this paper, we adopt the computational fluid dynamics (CFD) method combined with the Navier − Stokes(N − S)equations of non-compressible fluid under normal temperature and p...
متن کاملFast GPU-Based Fluid Simulations Using SPH
Graphical Processing Units (GPUs) are massive floatingpoint stream processors, and through the recent development of tools such as CUDA and OpenCL it has become possible to fully utilize them for scientific computing. We have developed an open-source CUDA-based acceleration framework for 3D Computational Fluid Dynamics (CFD) using Smoothed Particle Hydrodynamics (SPH). This paper describes the ...
متن کامل